package com.tao.utilslib.ui;

import android.app.Dialog;

import com.tao.utilslib.data.Obj;

public class DialogUtils {

    public static void cancelDialog(Dialog dialog) {
        if (!Obj.isNULL(dialog) && dialog.isShowing())
            dialog.dismiss();
    }
}
